﻿@model Admin.Models.ProductModel

@{
    ViewBag.Title = "insertProduct";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}



@using (Html.BeginForm()) 
{
    @Html.AntiForgeryToken()

    <div class="formtable" style="float:left; margin-left:40px;margin-top:30px;">
        <h3 style="text-align:center;">Thêm Mới Sản Phẩm</h3>
        <hr />
        @Html.ValidationSummary(true)

        <dl class="dl-horizontal">
            

            <dt>
                <label>Tên sản phẩm</label>
            </dt>

            <dd>
                @Html.TextBoxFor(model => model.TENSP)
                @Html.ValidationMessageFor(model => model.TENSP)
            </dd>

            <dt>
                <label>Giá sản phẩm</label>
            </dt>
            <dd>
                @Html.TextBoxFor(model => model.GIA)
                @Html.ValidationMessageFor(model => model.GIA)
            </dd>
        </dl>
        @*<div class="form-group">

                <div class="col-md-10">

                </div>
            </div>

            <div class="form-group">


            </div>

            <div class="form-group">

                <div class="col-md-10">

                </div>
            </div>*@

        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                <input type="submit" value="Create" class="btn btn-default" />
                @Html.ActionLink("Quay lại danh sách", "Product", "ProductAdmin")
            </div>
        </div>
    </div>
}


